package com.sicnu.estatemanagement.domain;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName EstateManager(物业管理人员表 tb_estate_manager)
 * @Description TODO
 * @Auther FanLin
 * @Date 2022/4/23 13:13
 * @Version 1.0
 **/
@Table(name = "tb_estate_manager")
public class EstateManager implements Serializable {

        @Id
        private Integer id;              //物业管理人员ID
        private String communityName; //所属小区名称
        private Integer communityId;   //所属小区ID
        private String loginName;     //登录名:登录时使用的名称
        private String name;           //真实名称
        private String password;       //密码
        private String telephone;      //手机
        private String email;          //邮箱
        private Integer roleId;        //角色ID：0-普通用户（默认0），1-管理员用户
        private String status;
        private Date createTime;    //创建时间
        private Date updateTime;   //更新时间

        public String getStatus() {
                return status;
        }

        public void setStatus(String status) {
                this.status = status;
        }

        public Integer getId() {
                return id;
        }

        public void setId(Integer id) {
                this.id = id;
        }

        public String getCommunityName() {
                return communityName;
        }

        public void setCommunityName(String communityName) {
                this.communityName = communityName;
        }

        public Integer getCommunityId() {
                return communityId;
        }

        public void setCommunityId(Integer communityId) {
                this.communityId = communityId;
        }

        public String getLoginName() {
                return loginName;
        }

        public void setLoginName(String loginName) {
                this.loginName = loginName;
        }

        public String getName() {
                return name;
        }

        public void setName(String name) {
                this.name = name;
        }

        public String getPassword() {
                return password;
        }

        public void setPassword(String password) {
                this.password = password;
        }

        public String getTelephone() {
                return telephone;
        }

        public void setTelephone(String telephone) {
                this.telephone = telephone;
        }

        public String getEmail() {
                return email;
        }

        public void setEmail(String email) {
                this.email = email;
        }

        public Integer getRoleId() {
                return roleId;
        }

        public void setRoleId(Integer roleId) {
                this.roleId = roleId;
        }

        public Date getCreateTime() {
                return createTime;
        }

        public void setCreateTime(Date createTime) {
                this.createTime = createTime;
        }

        public Date getUpdateTime() {
                return updateTime;
        }

        public void setUpdateTime(Date updateTime) {
                this.updateTime = updateTime;
        }
}
